There are many forms of input data your game can receive in addition to keyboard input. Force-feedback joysticks, mice, joypads, head trackers and 3D gloves all supply input data that you may wish to support, not to mention file system support to scan for files.
Click on any commands for more information:
STANDARD COMMANDS
INPUT will accept input data from the keyboard HIDE MOUSE will hide the default mouse pointer image SHOW MOUSE will show the default mouse pointer image POSITION MOUSE will reposition the mouse pointer
GAME DEVICE COMMANDS
PERFORM CHECKLIST FOR CONTROL DEVICES will make a list of all devices SET CONTROL DEVICE will select a known device for use as the current device FORCE UP will force the joystick up if the device is force feedback FORCE DOWN will force the joystick down if the device is force feedback FORCE LEFT will force the joystick left if the device is force feedback FORCE RIGHT will force the joystick right if the device is force feedback FORCE ANGLE will force the joystick direction if the device is force feedback FORCE CHAINSAW will force a chainsaw effect if the device is force feedback FORCE SHOOT will force a gunshot effect if the device is force feedback FORCE IMPACT will force a shudder effect if the device is force feedback FORCE NO EFFECT will stop all force if the device is force feedback FORCE WATER EFFECT will simulate water movement if the device is force feedback FORCE AUTO CENTER ON will activate autocenter if the device is force feedback FORCE AUTO CENTER OFF will deactivate autocenter if the device is force feedback
FTP COMMANDS
FTP CONNECT connect to FTP site FTP SET DIR go to an FTP directory FTP FIND FIRST find first ftp file in current ftp directory FTP FIND NEXT find next ftp file in current ftp directory FTP PUT FILE copy local file into current ftp directory FTP DELETE FILE delete ftp file from current ftp directory FTP GET FILE copy file from ftp to local directory FTP GET FILE use FTP PROCEED to grab FTP DISCONNECT disconnect from ftp site FTP PROCEED grab another chunk of the downloading file started by FTP GET FILE FTP TERMINATE terminate a current download started by FTP GET FILE
FILE SYSTEM COMMANDS
DIR will list files in the current directory to the screen DRIVELIST will list available drives to the screen PERFORM CHECKLIST FOR FILES will perform checklist for files in the current directory PERFORM CHECKLIST FOR DRIVES will perform checklist for available drives SET DIR will set the current directory CD will set the current directory FIND FIRST will find the first file in the current directory FIND NEXT will find the next file in the current directory
READ FILE will read a longword from an open file READ BYTE will read a byte from an open file READ WORD will read a word from an open file READ LONG will read a longword from an open file READ FLOAT will read a float from an open file READ STRING will read a string from an open file
WRITE FILE will write a longword to an open file WRITE BYTE will write a byte to an open file WRITE WORD will write a word to an open file WRITE LONG will write a longword to an open file WRITE FLOAT will write a float to an open file WRITE STRING will write a string to an open file
MOUSEX() will return the current X position of the mouse pointer MOUSEY() will return the current Y position of the mouse pointer MOUSEZ() will return the current Z position of the mouse pointer
MOUSEMOVEX() will return the current X movement of the mouse pointer MOUSEMOVEY() will return the current Y movement of the mouse pointer MOUSEMOVEZ() will return the current Z movement of the mouse pointer MOUSECLICK() will return a one if a the left mouse button is pressed
INKEY$() will return key character string currently pressed UPKEY() will return a one if the Up Arrow Key is being pressed DOWNKEY() will return a one if the Down Arrow Key is being pressed LEFTKEY() will return a one if the Left Arrow Key is being pressed RIGHTKEY() will return a one if the Right Arrow Key is being pressed CONTROLKEY() will return a one if the Control Key is being pressed SHIFTKEY() will return a one if the Shift Key is being pressed SPACEKEY() will return a one if the Space Key is being pressed RETURNKEY() will return a one if the Return Key is being pressed ESCAPEKEY() will return a one if the Escape Key is being pressed KEYSTATE() will return a one if the key specified by the scancode is pressed SCANCODE() will return the key scancode value currently pressed
JOYSTICK X() will return the X axis value of the the default analogue joystick JOYSTICK Y() will return the Y axis value of the the default analogue joystick JOYSTICK Z() will return the Z axis value of the the default analogue joystick
JOYSTICK FIRE X() support to read upto 32 fire buttons JOYSTICK FIRE A() will return a one if the default joystick fire button A is pressed JOYSTICK FIRE B() will return a one if the default joystick fire button B is pressed JOYSTICK FIRE C() will return a one if the default joystick fire button C is pressed JOYSTICK FIRE D() will return a one if the default joystick fire button D is pressed
JOYSTICK UP() will return a one, if the default digital joystick is pushed up JOYSTICK DOWN() will return a one, if the default digital joystick is pushed down JOYSTICK LEFT() will return a one, if the default digital joystick is pushed left JOYSTICK RIGHT() will return a one, if the default digital joystick is pushed right JOYSTICK SLIDER A() will return the Slider A value of the the default joystick JOYSTICK SLIDER B() will return the Slider B value of the the default joystick JOYSTICK SLIDER C() will return the Slider C value of the the default joystick JOYSTICK SLIDER D() will return the Slider D value of the the default joystick JOYSTICK TWIST X() support for reading joystick X twist JOYSTICK TWIST Y() support for reading joystick Y twist JOYSTICK TWIST Z() support for reading joystick Z twist JOYSTICK HAT ANGLE() support for reading upto 4 HAT controllers
CONTROL DEVICE NAME$() will return a string of the name of the current control device CONTROL DEVICE X() will return the X axis value of the current control device CONTROL DEVICE Y() will return the Y axis value of the current control device CONTROL DEVICE Z() will return the Z axis value of the current control device
FILE EXIST() will return a one if the specified file exists PATH EXIST() will return a one if the specified directory exists FILE SIZE() will return the size in bytes of the specified file FILE OPEN() will return a one if the specified file is open FILE END() will return a one if the specified file has no more data to read
GET CLIPBOARD$() will return a string stored in the clipboard GET REGISTRY() will read a value from the registry ENTYR$() will return the contents of the keyboard entry buffer WINDIR$() returns the name of your windows directory